package com.xinongbest.course.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface CoursePriceDao {
    @Select("SELECT price FROM course_price WHERE course_id = #{courseId}")
    Integer getPriceById(Integer courseId);
}
